package com.decade.service;

import com.decade.pojo.Door;

import java.util.List;

public interface DoorService {
    //添加
    public int addDoor(Door door);
    //查询所有门店
    public List<Door> queryDoorList();
    //按id查询
    public Door queryDoorById(int id);
    //模糊查询
    public List<Door> queryDoorLike(Door door);
    //删除门店
    public int deleteDoorById(int id);
    //根据door的id修改
    public int updateDoorById(Door door);
}
